home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJINC106.ARJ / GRP.H < prev    next >
C/C++ Source or Header  |  1992-03-09  |  912b  |  46 lines

  1. /* This file may have been modified by DJ Delorie (Jan 1991).  If so,
  2. ** these modifications are Coyright (C) 1991 DJ Delorie, 24 Kirsten Ave,
  3. ** Rochester NH, 03867-2954, USA.
  4. */
  5.  
  6.  
  7. #ifndef grp_h
  8.  
  9. #include <stdio.h>
  10.  
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. #define getgrent c_proto_getgrent
  15. #define getgrgid c_proto_getgrgid
  16. #define getgrnam c_proto_getgrnam
  17. #define setgrent c_proto_setgrent
  18. #define endgrent c_proto_endgrent
  19. #define fgetgrent c_proto_fgetgrent
  20.  
  21. #define KERNEL
  22.  
  23. #include "//usr/include/grp.h"
  24.  
  25. #ifndef grp_h
  26. #define grp_h 1
  27. #endif
  28.  
  29. #undef getgrent
  30. #undef getgrgid
  31. #undef getgrnam
  32. #undef KERNEL
  33.  
  34. extern struct group* getgrent();
  35. extern struct group* fgetgrent(FILE*);
  36. extern struct group* getgrgid(int);
  37. extern struct group* getgrnam(const char*);
  38. extern void          setgrent();
  39. extern void          endgrent();
  40.  
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44.  
  45. #endif
  46.